import { createStore } from "redux"
import rooterReducer from "../reducers"

export default function configureStore(initialState){
	const store = createStore(
		rooterReducer,
		initialState,
    	window.devToolsExtension ? window.devToolsExtension() : undefined
	);

	return store;
}
